<?php
    include "./base.php";
    $id = $_POST["id"];
    $ntitle = $_POST["ntitle"];
    $ncontent = $_POST["ncontent"];
    $ntime = $_POST["ntime"];
    $sql = "update notice set ntitle = '$ntitle',ncontent = '$ncontent',ntime = '$ntime' where nid = $id";
    mysql_query($sql);
    print_r("修改成功");
?>